﻿package com.jfdesgagne.traklib.collections {

	/**
	 * @author jdesgagne
	 */
	public class TrakConfiguration {
		public static var blur:int;		public static var contrast:int;		public static var minBlob:int;		public static var maxBlob:int;		public static var brightness:int;		public static var saturation:int;		public static var colorSensitivity:Number;		public static var multiTracking:Boolean;
		
		public static const BLUR:String = "blur";		public static const CONTRAST:String = "contrast";		public static const MIN_BLOB:String = "min_blob";		public static const MAX_BLOB:String = "max_blob";		public static const BRIGHTNESS:String = "brightness";		public static const SATURATION:String = "saturation";
		public static const TRACKING_TYPE:String = "tracking_type";		public static const DISTANCE:String = "tracking_distance";		public static const COLOR_SENSITIVITY:String = "tracking_colorsensitivity";		public static const MULTI_TRACKING:String = "tracking_multitracking";

		public function TrakConfiguration() {
			throw new Error("[FuelTrackingConfiguration] - Can't Be Instantiated");
		}

		public static function reset(_blur:int = 4, _contrast:int = 70, _minBlob:int = 10, _maxBlob:int = 50, _brightness:int = -19, _saturation:int = 0, _colorSensitivity:Number = 75, _multiTracking:Boolean = false):void {
			blur = _blur;			contrast = _contrast;			minBlob = _minBlob;			maxBlob = _maxBlob;			brightness = _brightness;			saturation = _saturation;			colorSensitivity = _colorSensitivity;			multiTracking = _multiTracking;
		}
	}
}